package com.diandian.backend.dingding.data.dto;

import com.diandian.base.boot.starter.exception.DefaultException;

import java.io.Serializable;
import java.util.Date;

public class DingdingDeptTreePageParamDTO implements Serializable {

	private Integer pageNum;
	private Integer pageSize;
	private String typeEql;
	private String typeLike;
	private String deptCodeEql;
	private String deptCodeLike;
	private String deptNameEql;
	private String deptNameLike;
	private String deptPathEql;
	private String deptPathLike;
	private Integer deptLevel;
	private String deptNodeCodeEql;
	private String deptNodeCodeLike;
	private String remarkEql;
	private String remarkLike;
	private String belongEql;
	private String belongLike;
	private String createUserIdEql;
	private String createUserIdLike;
	private String createUserNameEql;
	private String createUserNameLike;
	private Date createTimeBefore;
	private Date createTimeAfter;
	private String orgIdEql;
	private String orgIdLike;
	private String orgCodeEql;
	private String orgCodeLike;
	private String updateUserIdEql;
	private String updateUserIdLike;
	private String updateUserNameEql;
	private String updateUserNameLike;
	private Date updateTimeBefore;
	private Date updateTimeAfter;
	private Integer del;

	public void check(){
		if(this.pageNum == null || this.pageNum < 1 || this.pageSize == null || this.pageSize < 1){
			throw new DefaultException("分页参数不合法");
		}
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public String getTypeEql() {
		return typeEql;
	}
	public void setTypeEql(String typeEql) {
		this.typeEql = typeEql;
	}
	public String getTypeLike() {
		return typeLike;
	}
	public void setTypeLike(String typeLike) {
		this.typeLike = typeLike;
	}
	public String getDeptCodeEql() {
		return deptCodeEql;
	}
	public void setDeptCodeEql(String deptCodeEql) {
		this.deptCodeEql = deptCodeEql;
	}
	public String getDeptCodeLike() {
		return deptCodeLike;
	}
	public void setDeptCodeLike(String deptCodeLike) {
		this.deptCodeLike = deptCodeLike;
	}
	public String getDeptNameEql() {
		return deptNameEql;
	}
	public void setDeptNameEql(String deptNameEql) {
		this.deptNameEql = deptNameEql;
	}
	public String getDeptNameLike() {
		return deptNameLike;
	}
	public void setDeptNameLike(String deptNameLike) {
		this.deptNameLike = deptNameLike;
	}
	public String getDeptPathEql() {
		return deptPathEql;
	}
	public void setDeptPathEql(String deptPathEql) {
		this.deptPathEql = deptPathEql;
	}
	public String getDeptPathLike() {
		return deptPathLike;
	}
	public void setDeptPathLike(String deptPathLike) {
		this.deptPathLike = deptPathLike;
	}
	public Integer getDeptLevel() {
		return deptLevel;
	}
	public void setDeptLevel(Integer deptLevel) {
		this.deptLevel = deptLevel;
	}
	public String getDeptNodeCodeEql() {
		return deptNodeCodeEql;
	}
	public void setDeptNodeCodeEql(String deptNodeCodeEql) {
		this.deptNodeCodeEql = deptNodeCodeEql;
	}
	public String getDeptNodeCodeLike() {
		return deptNodeCodeLike;
	}
	public void setDeptNodeCodeLike(String deptNodeCodeLike) {
		this.deptNodeCodeLike = deptNodeCodeLike;
	}
	public String getRemarkEql() {
		return remarkEql;
	}
	public void setRemarkEql(String remarkEql) {
		this.remarkEql = remarkEql;
	}
	public String getRemarkLike() {
		return remarkLike;
	}
	public void setRemarkLike(String remarkLike) {
		this.remarkLike = remarkLike;
	}
	public String getBelongEql() {
		return belongEql;
	}
	public void setBelongEql(String belongEql) {
		this.belongEql = belongEql;
	}
	public String getBelongLike() {
		return belongLike;
	}
	public void setBelongLike(String belongLike) {
		this.belongLike = belongLike;
	}
	public String getCreateUserIdEql() {
		return createUserIdEql;
	}
	public void setCreateUserIdEql(String createUserIdEql) {
		this.createUserIdEql = createUserIdEql;
	}
	public String getCreateUserIdLike() {
		return createUserIdLike;
	}
	public void setCreateUserIdLike(String createUserIdLike) {
		this.createUserIdLike = createUserIdLike;
	}
	public String getCreateUserNameEql() {
		return createUserNameEql;
	}
	public void setCreateUserNameEql(String createUserNameEql) {
		this.createUserNameEql = createUserNameEql;
	}
	public String getCreateUserNameLike() {
		return createUserNameLike;
	}
	public void setCreateUserNameLike(String createUserNameLike) {
		this.createUserNameLike = createUserNameLike;
	}
	public Date getCreateTimeBefore() {
		return createTimeBefore;
	}
	public void setCreateTimeBefore(Date createTimeBefore) {
		this.createTimeBefore = createTimeBefore;
	}
	public Date getCreateTimeAfter() {
		return createTimeAfter;
	}
	public void setCreateTimeAfter(Date createTimeAfter) {
		this.createTimeAfter = createTimeAfter;
	}
	public String getOrgIdEql() {
		return orgIdEql;
	}
	public void setOrgIdEql(String orgIdEql) {
		this.orgIdEql = orgIdEql;
	}
	public String getOrgIdLike() {
		return orgIdLike;
	}
	public void setOrgIdLike(String orgIdLike) {
		this.orgIdLike = orgIdLike;
	}
	public String getOrgCodeEql() {
		return orgCodeEql;
	}
	public void setOrgCodeEql(String orgCodeEql) {
		this.orgCodeEql = orgCodeEql;
	}
	public String getOrgCodeLike() {
		return orgCodeLike;
	}
	public void setOrgCodeLike(String orgCodeLike) {
		this.orgCodeLike = orgCodeLike;
	}
	public String getUpdateUserIdEql() {
		return updateUserIdEql;
	}
	public void setUpdateUserIdEql(String updateUserIdEql) {
		this.updateUserIdEql = updateUserIdEql;
	}
	public String getUpdateUserIdLike() {
		return updateUserIdLike;
	}
	public void setUpdateUserIdLike(String updateUserIdLike) {
		this.updateUserIdLike = updateUserIdLike;
	}
	public String getUpdateUserNameEql() {
		return updateUserNameEql;
	}
	public void setUpdateUserNameEql(String updateUserNameEql) {
		this.updateUserNameEql = updateUserNameEql;
	}
	public String getUpdateUserNameLike() {
		return updateUserNameLike;
	}
	public void setUpdateUserNameLike(String updateUserNameLike) {
		this.updateUserNameLike = updateUserNameLike;
	}
	public Date getUpdateTimeBefore() {
		return updateTimeBefore;
	}
	public void setUpdateTimeBefore(Date updateTimeBefore) {
		this.updateTimeBefore = updateTimeBefore;
	}
	public Date getUpdateTimeAfter() {
		return updateTimeAfter;
	}
	public void setUpdateTimeAfter(Date updateTimeAfter) {
		this.updateTimeAfter = updateTimeAfter;
	}
	public Integer getDel() {
		return del;
	}
	public void setDel(Integer del) {
		this.del = del;
	}
}
